package com.zly.android.architectural.pattern.mvp

open class BasePresenter<IView:BaseView> {
     var view:IView?=null
    fun attach(view:IView){
        this.view=view
    }
    fun detach(){
        view=null
    }
}